<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>阴影</title>

    <style type="text/css">
        body {
            background: #acccf0;
        }

        .box {
            width: 200px;
            height: 200px;
            background: #c00;
            margin: 100px;
        }

        .box:hover {
            box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.8) inset, 10px 10px 15px #4c000e, -10px -10px 15px #1b3d00;
        }
    </style>
</head>
<body>
<div class="box"></div>
</body>
</html>